package item.inkcloud.userservice.mapper;

import item.inkcloud.userservice.entity.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
@Mapper
public interface UserMapper {

    void userRegister(UserInfo info);

    String findPwdByUserID(String userid);

    
    UserInfo findInfoById(String userid);

    void updateUserInfo(UserInfo userInfo);

    void changePwd(@Param("userid") String userid,@Param("password") String password);

    void changeUserProvince(@Param(("userid")) String userId ,@Param("province") String province);
}
